﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Linq;

using ProjectBase.Core;

namespace $safeprojectname$.Validation
{
    public interface IEntityValidator<in TEntity, in TID> : IValidator<TEntity>
        where TEntity : class, IPersistentObjectWithTypedId<TID>
    {
        bool CanBeDeleted(TEntity entity);

        bool CanBeEdited(TEntity entity);
    }
}